
            <div id="header">


<!--                <div class="search">
                    <form name="quick_find"
                          action="<?php// echo $this->createUrl('/site/search') ?>"
                          method="get">
                        <label class="fl_left">Search: </label>

                        <div class="input-width fl_left">
                            <div class="width-setter">
                                <input type="text" name="keywords" value="Nhập tên sản phẩm" size="10"
                                       maxlength="300" class="go fl_left"
                                       onblur="if(this.value=='') this.value='Nhập tên sản phẩm'"
                                       onfocus="if(this.value =='Nhập tên sản phẩm' ) this.value=''">
                            </div>
                        </div>
                        <input type="image"
                               src="<?php// echo Yii::app()->request->baseUrl; ?>/css/images/button_header_search.gif"
                               alt="Search" title=" Search " class="button_header_search fl_left">
                    </form>
                </div>-->
<!--                <div class="menu">
                    <ul>
                        <?php
//                            $lstMenuNav = Category::model()->getMenuNav();
//                            $count = count($lstMenuNav);
//                            $i=0;
//                            foreach ($lstMenuNav as $key=>$value){
                                
                                ?>
                        <li class="<?php // if($i==0) echo 'act first'; elseif($i==$count--) echo 'last'; else echo"" ?> "><a href="<?php //echo $this->createUrl('/site/page',array('id'=>$value['id_page'])) ?>"><?php //echo $value['name'] ?></a></li>
                        
                        <?php
//                            $i++;
                           // }

                        ?>
                    </ul>
                </div>-->
                <?php 
                    $categories = $this->getCategory();
                ?>
                <nav id="nav">	
                    <ul>		
                        <li>
                            <a href="<?php echo Yii::app()->request->getBaseUrl(true); ?>"><span>Trang chủ</span></a>
                        </li>
                        <?php 
                            if($categories){
                                foreach($categories as $key=>$value){
                                    ?>
                                    <li>
                                        <a href="<?php echo $this->createUrl('/site/list', array('id' => $value->id))?>"><span><?php echo $value['name'];?></span></a>
                                    </li>
                        <?php
                                }
                            }
                        ?>
                        <li>
                            <a href="javascript:void(0);"><span>Liên hệ</span></a>
                        </li>
                    </ul>
                </nav> 


            </div>
